Welcome to HomeDirect! This Enterprise Java application uses J2EETM technology, and is intended to be a design and development example to accompany the book "Developing Enterprise Java Applications with J2EE and UML".
This document describes how to install and run the HomeDirect Bank example on Windows 2000 or NT. HomeDirect was built to take advantage of the many elements already present in the J2EE reference implementation - including the server platform, database, and deployment tools. As such, the installation procedure involves configuring several aspects of J2EE 1.2.1. Please be sure to follow these instructions closely.
You can download and install J2SE 1.3 and J2EE 1.2.1 from:
Start->Settings->Control Panel
, choose to edit the System
settings. Click on Advanced->Environment Variables
, and then set a
new variable called JAVA_HOME
with the directory where you installed
the J2SE SDK, typically C:\jdk1.3
.
JAVA_HOME
, set another new variable called
J2EE_HOME
with the directory where you installed the J2EE SDK,
typically C:\j2sdkee1.2.1
.
%J2EE_HOME%
directory, edit the file
config\default.properties
. You should see a line that looks something like this:
jdbc.datasources=jdbc/Cloudscape|jdbc:cloudscape:rmi:CloudscapeDB;create=true
jdbc.datasources=jdbc/Cloudscape|jdbc:cloudscape:rmi:CloudscapeDB;create=true
|jdbc/HomeDirectDB|jdbc:cloudscape:rmi:HomeDirectDB;create=true
%J2EE_HOME%\bin
directory and run:
cloudscape -start
HomeDirect.zip
, to the directory C:\HomeDirect
. All of the code will be found under
C:\HomeDirect\j2ee1.2
. We'll refer to this directory as
%HomeDirect%
in the rest of these instructions.
%HomeDirect%\sql
directory and run
the command:
Resetdb
%J2EE_HOME%\bin
directory and run:
j2ee -verbose
%J2EE_HOME%\bin
directory run:
deploytool
File
menu, and then Open Application...
.
Select the file %HomeDirect%\HomeDirect.ear
. Next, click on the
Tools
menu, and then Deploy Application
. Click through
the dialog boxes to complete the deployment.
Readme.html
http://localhost:8000/homedirect/Login.jsp